//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class SystemClassUserImport implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private String title;
    private Long createTime;
    private Long createUser;
    private Integer state;
    private String storeName;
    private Integer successCount;
    private Integer errorCount;
    private Long classId;

    public SystemClassUserImport() {
    }

    public Long getId() {
        return this.id;
    }

    public String getTitle() {
        return this.title;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public Integer getState() {
        return this.state;
    }

    public String getStoreName() {
        return this.storeName;
    }

    public Integer getSuccessCount() {
        return this.successCount;
    }

    public Integer getErrorCount() {
        return this.errorCount;
    }

    public Long getClassId() {
        return this.classId;
    }

    public SystemClassUserImport setId(final Long id) {
        this.id = id;
        return this;
    }

    public SystemClassUserImport setTitle(final String title) {
        this.title = title;
        return this;
    }

    public SystemClassUserImport setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public SystemClassUserImport setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public SystemClassUserImport setState(final Integer state) {
        this.state = state;
        return this;
    }

    public SystemClassUserImport setStoreName(final String storeName) {
        this.storeName = storeName;
        return this;
    }

    public SystemClassUserImport setSuccessCount(final Integer successCount) {
        this.successCount = successCount;
        return this;
    }

    public SystemClassUserImport setErrorCount(final Integer errorCount) {
        this.errorCount = errorCount;
        return this;
    }

    public SystemClassUserImport setClassId(final Long classId) {
        this.classId = classId;
        return this;
    }

    public String toString() {
        return "SystemClassUserImport(id=" + this.getId() + ", title=" + this.getTitle() + ", createTime=" + this.getCreateTime() + ", createUser=" + this.getCreateUser() + ", state=" + this.getState() + ", storeName=" + this.getStoreName() + ", successCount=" + this.getSuccessCount() + ", errorCount=" + this.getErrorCount() + ", classId=" + this.getClassId() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof SystemClassUserImport)) {
            return false;
        } else {
            SystemClassUserImport other = (SystemClassUserImport)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label119: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label119;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label119;
                    }

                    return false;
                }

                Object this$title = this.getTitle();
                Object other$title = other.getTitle();
                if (this$title == null) {
                    if (other$title != null) {
                        return false;
                    }
                } else if (!this$title.equals(other$title)) {
                    return false;
                }

                label105: {
                    Object this$createTime = this.getCreateTime();
                    Object other$createTime = other.getCreateTime();
                    if (this$createTime == null) {
                        if (other$createTime == null) {
                            break label105;
                        }
                    } else if (this$createTime.equals(other$createTime)) {
                        break label105;
                    }

                    return false;
                }

                Object this$createUser = this.getCreateUser();
                Object other$createUser = other.getCreateUser();
                if (this$createUser == null) {
                    if (other$createUser != null) {
                        return false;
                    }
                } else if (!this$createUser.equals(other$createUser)) {
                    return false;
                }

                label91: {
                    Object this$state = this.getState();
                    Object other$state = other.getState();
                    if (this$state == null) {
                        if (other$state == null) {
                            break label91;
                        }
                    } else if (this$state.equals(other$state)) {
                        break label91;
                    }

                    return false;
                }

                Object this$storeName = this.getStoreName();
                Object other$storeName = other.getStoreName();
                if (this$storeName == null) {
                    if (other$storeName != null) {
                        return false;
                    }
                } else if (!this$storeName.equals(other$storeName)) {
                    return false;
                }

                label77: {
                    Object this$successCount = this.getSuccessCount();
                    Object other$successCount = other.getSuccessCount();
                    if (this$successCount == null) {
                        if (other$successCount == null) {
                            break label77;
                        }
                    } else if (this$successCount.equals(other$successCount)) {
                        break label77;
                    }

                    return false;
                }

                label70: {
                    Object this$errorCount = this.getErrorCount();
                    Object other$errorCount = other.getErrorCount();
                    if (this$errorCount == null) {
                        if (other$errorCount == null) {
                            break label70;
                        }
                    } else if (this$errorCount.equals(other$errorCount)) {
                        break label70;
                    }

                    return false;
                }

                Object this$classId = this.getClassId();
                Object other$classId = other.getClassId();
                if (this$classId == null) {
                    if (other$classId != null) {
                        return false;
                    }
                } else if (!this$classId.equals(other$classId)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof SystemClassUserImport;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $title = this.getTitle();
        result1 = result * 59 + ($title == null ? 43 : $title.hashCode());
        Object $createTime = this.getCreateTime();
        result1 = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $createUser = this.getCreateUser();
        result1 = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $storeName = this.getStoreName();
        result1 = result * 59 + ($storeName == null ? 43 : $storeName.hashCode());
        Object $successCount = this.getSuccessCount();
        result1 = result * 59 + ($successCount == null ? 43 : $successCount.hashCode());
        Object $errorCount = this.getErrorCount();
        result1 = result * 59 + ($errorCount == null ? 43 : $errorCount.hashCode());
        Object $classId = this.getClassId();
        result1 = result * 59 + ($classId == null ? 43 : $classId.hashCode());
        return result1;
    }
}
